<{foreach from=$list item=item}>
<div data-nick="<{$item.nickname}>" data-id="<{$item.id}>" onclick="commentSelect(this)" class="commentRecord">
    <div class="user">
        <span class="avatar"><img class="uhead" src="<{$item.uid|headpic}>" /></span>
        <span class="nickname"><{$item.nickname}></span>
    </div>
    <p class="publish"><{$item.addTime|date_format:'%m-%d %H:%M'}></p>
    <p class="des"><{$item.content}> </p>
    <div class="photo-box clearfix">
        <{foreach from=$item.album item=pic}>
            <{if $pic}>
            <a href="javascript:void(0);" class="img-box" style="background: url(<{$pic}>) no-repeat;" data-src="<{$pic}>"></a>
            <{/if}>
        <{/foreach}>
    </div>
    <{foreach from=$item.children item=child}>
        <div class="feedback">
            <div class="user">
                <span class="avatar"><img class="uhead" src="<{$child.uid|headpic}>"  /></span>
                <span class="nickname"><{if $child.nickname}><{$child.nickname}><{else}>匿名用户<{/if}></span>
            </div>
            <p class="publish"><{$child.addTime|date_format:'%m-%d %H:%M'}></p>
            <p class="des"><{$child.content}></p>
        </div>
    <{/foreach}>

</div>
<{/foreach}>

